package com.ztc.ZtcCar.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

import java.util.Date;

@Entity
@Table(name = "ztc_car")
public class ZtcCar implements BaseEntity{

    private String id;//

    private String brand;//品牌

    private String carNumber;//车牌号

    private String color;//车颜色

    private String origin;//车籍

    private java.lang.Integer property;//车辆性质(1运营，2租赁)

    private java.lang.Integer purpose;//车辆用途

    private java.lang.Integer status;//车辆状态(1正常，2待审核,3冻结,4审核未通过,5车方注册状态)

    private java.lang.Integer carType;//车辆类型（1轿车，2商务，3大巴）

    private java.lang.Integer seatNum;//车辆座位数

    private String examineUserId;//审核用户

    private java.util.Date examineTime;//审核时间

    private String examineRemark;//审核意见

    private String modifyRemark;//修改意见

    private String transportId;//所属公司id

    private java.lang.Integer type;//类型（1 直通车，2 私家车）

    public void setId(String value){
        this.id = value;
    }
    public void setBrand(String value){
        this.brand = value;
    }
    public void setCarNumber(String value){
        this.carNumber = value;
    }
    public void setColor(String value){
        this.color = value;
    }
    public void setOrigin(String value){
        this.origin = value;
    }
    public void setProperty(java.lang.Integer value){
        this.property = value;
    }
    public void setPurpose(java.lang.Integer value){
        this.purpose = value;
    }
    public void setStatus(java.lang.Integer value){
        this.status = value;
    }
    public void setCarType(java.lang.Integer value){ this.carType = value; }
    public void setSeatNum(java.lang.Integer value){
        this.seatNum = value;
    }
    public void setExamineTime(Date examineTime) { this.examineTime = examineTime; }
    public void setExamineRemark(String value){
        this.examineRemark = value;
    }
    public void setModifyRemark(String value){
        this.modifyRemark = value;
    }
    public void setTransportId(String value){
        this.transportId = value;
    }
    public void setExamineUserId(String examineUserId) { this.examineUserId = examineUserId;}
    public void setType(Integer type) {  this.type = type;  }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="brand",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getBrand(){
        return this.brand;
    }
    @Column(name ="car_number",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getCarNumber(){
        return this.carNumber;
    }
    @Column(name ="color",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getColor(){
        return this.color;
    }
    @Column(name ="origin",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getOrigin(){
        return this.origin;
    }
    @Column(name ="property",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.lang.Integer getProperty(){
        return this.property;
    }
    @Column(name ="purpose",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.lang.Integer getPurpose(){
        return this.purpose;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.lang.Integer getStatus(){
        return this.status;
    }
    @Column(name ="car_type",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.lang.Integer getCarType(){return this.carType; }
    @Column(name ="seat_num",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.lang.Integer getSeatNum(){
        return this.seatNum;
    }
    @Column(name ="examine_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public Date getExamineTime() { return examineTime; }
    @Column(name ="examine_remark",unique=false,nullable=true,insertable=true,updatable=true,length=2147483647)
    public String getExamineRemark(){
        return this.examineRemark;
    }
    @Column(name ="modify_remark",unique=false,nullable=true,insertable=true,updatable=true,length=2147483647)
    public String getModifyRemark(){
        return this.modifyRemark;
    }
    @Column(name ="transport_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getTransportId(){
        return this.transportId;
    }
    @Column(name ="examine_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getExamineUserId() { return examineUserId; }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getType() {   return type; }
}
